Next | Prev | Up | Top | Contents | Index

Syntax of Command Elements

The symmon commands all have the same form: a keyword, usually followed by one or more arguments separated by spaces.

Many commands take an address value. An address argument value can have one of the following forms:

Decimal numberA number starting with 1-9 is a decimal number, for example 4095.
Octal numberA number starting with 0 and a digit is an octal number, for example 033.
Hex numberA number starting with 0x is a hexadecimal number, for example 0xffff8000.
Binary numberA number starting with 0b is a binary number, for example 0b0100.
SymbolA word starting with a non-digit is looked up as a symbol in the kernel symbol table, and its address is the value; for example dk_open.
RegisterA word starting with "$" is taken as a register name, and the contents of the register as of the last interrupt is used as the argument value; for example $a2.
Value and offsetA value plus or minus a number is a value, for example $a2-0x100 or dk_open+128.

Some commands accept a range of addresses. A range can be written in one of two ways:

The register names that symmon accepts and shows in various displays are the conventional names used in MIPS assembly language programming. Refer to the MIPSpro Assembly Language Programmer's Guide and the processor manuals listed under "Additional Reading" on page xxxix.


Next | Prev | Up | Top | Contents | Index